package com.stream.repository;

import com.stream.model.entity.SysConfigEntity;
import org.apache.ibatis.annotations.Param;

/**
 * Created by yebaokang on 2017/6/15.
 */
public interface SysConfigRepository extends BaseRepository<SysConfigEntity> {

    /**
     * 根据key，查询value
     * @param paramKey
     * @return
     */
    String queryByKey(String paramKey);


    /**
     * 根据key，更新value
     */

    int updateValueByKey(@Param("key") String key, @Param("value") String value);
}
